import request from '@/utils/request'

const api = {
    apipath: '/jflog'
}

// 获取积分排行榜数据
export function getJfphb(params) {
    return request({
        url: api.apipath + '/jfphb',
        method: 'POST',
        data: params
    })
}

//获取积分排名ECharts数据
export function getEChartsData(params) {
    return request({
        url: api.apipath + '/eCharts',
        method: 'POST',
        data: params
    })
}